<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8"/>
  <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
  <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
  <title>Document</title>
</head>
<body>
<div id="app">
  <h2>{{ msg }}</h2>
  <select name="abc" id="c" v-model="fruit">
    <option value="1">苹果</option>
    <option value="2">香蕉</option>
    <option value="3">西瓜</option>
    <option value="4">葡萄</option>
  </select>
  你的选择{{fruit}}
  <select name="abc" id="a" v-model="fruits" multiple>
    <option value="1">苹果</option>
    <option value="2">香蕉</option>
    <option value="3">西瓜</option>
    <option value="4">葡萄</option>
  </select>
  你的选择{{fruits}}
</div>
<script src="../node_modules/vue/dist/vue.js"></script>
<script>
  new Vue({
    el: "#app",
    data: {
      msg: "hello,world",
      fruit: '2',
      fruits:''
    },
  });
</script>
</body>
</html>
